import request from '@/utils/request'

// 查询场景流程返回值列表
export function listSceneProcessReturnValueVersion(query) {
  return request({
    url: '/business/sceneProcessReturnValueVersion/list',
    method: 'get',
    params: query
  })
}

// 查询场景流程返回值详细
export function getSceneProcessReturnValueVersion(id) {
  return request({
    url: '/business/sceneProcessReturnValueVersion/' + id,
    method: 'get'
  })
}

// 新增场景流程返回值
export function addSceneProcessReturnValueVersion(data) {
  return request({
    url: '/business/sceneProcessReturnValueVersion',
    method: 'post',
    data: data
  })
}

// 修改场景流程返回值
export function updateSceneProcessReturnValueVersion(data) {
  return request({
    url: '/business/sceneProcessReturnValueVersion',
    method: 'put',
    data: data
  })
}

// 删除场景流程返回值
export function delSceneProcessReturnValueVersion(id) {
  return request({
    url: '/business/sceneProcessReturnValueVersion/' + id,
    method: 'delete'
  })
}
